<template>
  <div class="step-progress">
    <div
      v-for="(step, idx) in steps"
      :key="step"
      class="step"
      :class="{ active: current === idx }"
    >
      {{ step }}
      <span v-if="idx < steps.length - 1" class="divider">→</span>
    </div>
  </div>
</template>

<script setup>
defineProps({
  steps: Array,
  current: Number
})
</script>

<style scoped>
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfc;
  padding: 18px 0 12px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 24px;
}
.step {
  color: #b0b0b0;
  font-size: 18px;
  font-weight: 500;
  padding: 0 12px;
  transition: color 0.3s;
  position: relative;
}
.step.active {
  color: #3ca0e6;
  border-bottom: 2px solid #3ca0e6;
}
.divider {
  color: #b0b0b0;
  margin: 0 8px;
}
</style> 